package com.wayhome.srpingbootmybatis.boc.dto;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
public class BocRefundOrdReqDTO extends BocBaseFieldDTO {

    @ApiModelProperty(value = "原支付方式", notes = "ZFBA-支付宝 WEIX-微信 UPAY-银联二维码(暂不支持) DZZF-电子支付 UN-未知")
    @JSONField(name="OldPayType")
    @JsonProperty("OldPayType")
    public String OldPayType;

    @ApiModelProperty(value = "原银行日期", notes = "原交易返回的银行交易日期")
    @JSONField(name="OldBankDate")
    @JsonProperty("OldBankDate")
    public String OldBankDate;

    @ApiModelProperty(value = "原商户订单号", notes = "当oldPayType 是 ZFBA、WEIX、 DZZF、MPZF 时此域必填")
    @JSONField(name="OldOrderNo")
    @JsonProperty("OldOrderNo")
    public String OldOrderNo;

    @ApiModelProperty(value = "原付款凭证号", notes = "原交易的付款凭证号。当 OldPayType 是 UPAY 时此域必填")
    @JSONField(name="OldPayVounum")
    @JsonProperty("OldPayVounum")
    public String OldPayVounum;

    @ApiModelProperty(value = "商户退货订单号", notes = "交易成功时返回")
    @JSONField(name="RefundOrderNo")
    @JsonProperty("RefundOrderNo")
    public String RefundOrderNo;

    @ApiModelProperty(value = "退货金额", notes = "金额以分为单位不包含小数，不 足 12 位左补“0”:000000000001，代表1分钱")
    @JSONField(name="RefundAmt")
    @JsonProperty("RefundAmt")
    public String RefundAmt;

    @ApiModelProperty(value = "柜员号")
    @JsonProperty("OperNo")
    @JSONField(name="OperNo")
    public String OperNo;
}
